Integrand size = 36, antiderivative size = 50 \[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=\frac {2 \cos (e+f x) (c+c \sin (e+f x))^{1+m}}{c f (3+2 m) \sqrt {a-a \sin (e+f x)}} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {2920, 2817} \[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=\frac {2 \cos (e+f x) (c \sin (e+f x)+c)^{m+1}}{c f (2 m+3) \sqrt {a-a \sin (e+f x)}} \]
[In]
[Out]
Rule 2817
Rule 2920
Rubi steps \begin{align*} \text {integral}& = \frac {\int \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{1+m} \, dx}{a c} \\ & = \frac {2 \cos (e+f x) (c+c \sin (e+f x))^{1+m}}{c f (3+2 m) \sqrt {a-a \sin (e+f x)}} \\ \end{align*}
Time = 2.18 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.70 \[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=\frac {2 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^3 (c (1+\sin (e+f x)))^m}{f (3+2 m) \sqrt {a-a \sin (e+f x)}} \]
[In]
[Out]
\[\int \frac {\left (\cos ^{2}\left (f x +e \right )\right ) \left (c +c \sin \left (f x +e \right )\right )^{m}}{\sqrt {a -a \sin \left (f x +e \right )}}d x\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 108 vs. \(2 (48) = 96\).
Time = 0.30 (sec) , antiderivative size = 108, normalized size of antiderivative = 2.16 \[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=-\frac {2 \, {\left (\cos \left (f x + e\right )^{2} - {\left (\cos \left (f x + e\right ) + 2\right )} \sin \left (f x + e\right ) - \cos \left (f x + e\right ) - 2\right )} \sqrt {-a \sin \left (f x + e\right ) + a} {\left (c \sin \left (f x + e\right ) + c\right )}^{m}}{2 \, a f m + 3 \, a f + {\left (2 \, a f m + 3 \, a f\right )} \cos \left (f x + e\right ) - {\left (2 \, a f m + 3 \, a f\right )} \sin \left (f x + e\right )} \]
[In]
[Out]
\[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=\int \frac {\left (c \left (\sin {\left (e + f x \right )} + 1\right )\right )^{m} \cos ^{2}{\left (e + f x \right )}}{\sqrt {- a \left (\sin {\left (e + f x \right )} - 1\right )}}\, dx \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=\text {Timed out} \]
[In]
[Out]
Time = 10.37 (sec) , antiderivative size = 68, normalized size of antiderivative = 1.36 \[ \int \frac {\cos ^2(e+f x) (c+c \sin (e+f x))^m}{\sqrt {a-a \sin (e+f x)}} \, dx=-\frac {\sqrt {-a\,\left (\sin \left (e+f\,x\right )-1\right )}\,{\left (c\,\left (\sin \left (e+f\,x\right )+1\right )\right )}^m\,\left (2\,\cos \left (e+f\,x\right )+\sin \left (2\,e+2\,f\,x\right )\right )}{a\,f\,\left (2\,m+3\right )\,\left (\sin \left (e+f\,x\right )-1\right )} \]
[In]
[Out]